package com.star.sys.controller;

import com.star.api.flow.FlowFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author chaoyang
 * @Description:
 * @Date 2019/9/8 0008
 * @Version V1.0
 **/
@RequestMapping("/abc")
@RestController
public class UserController {

    @Autowired
    private FlowFeignService flowFeignService;

    @RequestMapping("/")
    public Object testHystrix() {
        return flowFeignService.userAll();

    }
}
